package com.wxservice.domain.request;

import com.alibaba.fastjson.annotation.JSONField;


import java.io.Serializable;
import java.util.List;


//请求用户信息
public class WXUserREQ implements Serializable {
    @JSONField(serialize = false)
    //access_token：接口调用凭证access_token
    private String access_token;
    //next_openid：第一个拉取的OPENID（不填代表从第一个开始）
    private String next_openid;
    //openid：指定获取用户信息时必填
    private String openid;
    //user_list：多个用户的信息，拉取多个用户是启用
    private List<UserListREQ> user_list;

    @Override
    public String toString() {
        return "WXUserREQ{" +
                "access_token='" + access_token + '\'' +
                ", next_openid='" + next_openid + '\'' +
                ", openid='" + openid + '\'' +
                ", user_list=" + user_list +
                '}';
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getNext_openid() {
        return next_openid;
    }

    public void setNext_openid(String next_openid) {
        this.next_openid = next_openid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public List<UserListREQ> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListREQ> user_list) {
        this.user_list = user_list;
    }

    public WXUserREQ() {

    }

    public WXUserREQ(String access_token, String next_openid, String openid, List<UserListREQ> user_list) {

        this.access_token = access_token;
        this.next_openid = next_openid;
        this.openid = openid;
        this.user_list = user_list;
    }
}